body {
    background-color: #f3ffea;
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
}

/* TODO header************************************************************************************/

.header {
    padding: 3rem 5rem;
    color: #fff; /*除按钮外, 页头部内字体颜色都为白色*/
    text-align: center;
    background-image: linear-gradient(120deg, rgb(38, 144, 249), rgb(252, 45, 45));
}

.iconDiv {
    position: absolute;
    top: 20px;
    right: 20px;
}

.name {
    font-size: 3.25rem;
    margin-top: 0;
    margin-bottom: 0.1rem;
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.7;
}

a.btn {
    text-decoration: none
}

.btn {
    padding: .75rem 1rem;
    display: inline-block; /*inline不换行+block可调边距*/
    color: white;
    color: hsla(0, 0%, 100%, 0.8); /*hsla函数调颜色(颜色, 饱和度, 亮度, 不透明度)*/
    background-color: hsla(0, 0%, 100%, 0.1);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    border-radius: 1rem;
}

.btn:hover {
    color: hsla(0, 0%, 100%, 0.8);
    background-color: hsla(0, 0%, 100%, 0.2);
    border-color: hsla(0, 0%, 100%, 0.3)
}

/* TODO header*************************************************************************************/

/* TODO transverseBar*************************************************************************************/
.TransverseBar {
    color: hsla(90, 0%, 40%, 1);
    border-radius: 7px;
    border: #6a737d 1px solid;
    background-color: #f1f5fc;
    margin: -30px auto auto;
    height: 60px;
    width: 970px;
    position: relative;
    display: block;
}

.TransverseBar ul {
    border: #6a737d 1px solid;
    margin: 0;
}

.TransverseBar ul li {
    float: left;
    padding: 16px 25px;
    width: 85px;
}

.TransverseBar ul li ul {
    display: none;
}

.TransverseBar ul li ul li {
    padding: 20px 25px;
    width: 85px;
}

.TransverseBar ul li:hover ul {
    margin-right: 0;
    width: 280px;
    z-index: 1;
    background-color: #f1f5fc;
    position: absolute;
    margin-left: -26px;
    margin-top: 20px;
    display: block;
    color: hsla(90, 0%, 0%, 1);
}

.TransverseBar ul li:hover ul li:hover {
    text-shadow: 1px 0 2px #1b1f23;
}

.TransverseBar ul li:hover ul a {
    color: hsla(90, 0%, 40%, 1);
}

.TransverseBar ul li:hover ul a:hover {
    color: #ebc700;
    text-shadow: 1px 1px 5px #ebc700;
    text-decoration: none;
}

.TransverseBar ul li:hover ul li {
    width: 200px;

}

.TransverseBar ul li:hover {
    border: #6a737d 1px solid;
    background-color: white;
    color: hsla(90, 0%, 0%, 1);
}

.musicBar {
    position: relative;
    top: 2px;
    width: 350px;
    margin-top: auto;
    padding: 0;
}

/*音乐栏*/
audio {
    /*background-color: #fcfcfc;*/
    max-width: 670px;
    border-bottom-color: transparent;
}

.icon {
    float: left;
    width: 7%;
    margin-left: 25px;
    border: white 1px solid;
    background-color: #f3ffea;
}

/*音乐栏*/


/* TODO transverseBar*************************************************************************************/
/* TODO mainContent*************************************************************************************/
.mainContent {
    margin: 20px auto;
    width: 970px;
    position: relative;
    display: inline-block;
}

.mainContent div {
    float: left;
    display: inline-block;
    max-width: 700px;
}

.content {
    display: block;
    position: relative;
    margin-left: 2rem;
    width: 42rem;
    height: 90rem;
    overflow: hidden;
    border: 1px solid #CCCCCC;
}

.leftBar ul li a {
    color: black;
    text-decoration: none;
}

.leftBar ul li:hover {
    background-color: white;
    border: #a8a8a8 1px solid;
}

.leftBar ul li:hover a {
    color: #ebc700;
    text-shadow: 1px 1px 5px #ebc700;
    text-decoration: none;
}

/* TODO leftBar*************************************************************************************/

.leftBar {
    border: #a8a8a8 1px solid;
    position: relative;
    margin-left: 20px;
    width: 230px;
    height: 300px;
}

.leftBar ul {
    padding: 10px;
    text-align: center;
}

.leftBar ul li {
    padding: 20px 0;
    border-right: #a8a8a8 1px solid;
}

/* TODO leftBar*************************************************************************************/

/*轮播图*/
/*焦点图关键:overflow:hidden;height:图像高度*/


/*层叠关键, 父自定义列表盒子内部设置相对定位, 子项目(dt和dd之间)绝对*/
.relative {
    position: relative; /*子对象之间相对定位*/
    width: 40rem;
    text-align: center;
}

.cascade { /*dt样式类*/
    position: absolute; /*关键2:a的绝对定位*/
    right: 50px; /*右边框离父级元素的距离*/
    bottom: 20px; /*下边框离父级元素的距离*/
}

.cascade a {
    text-decoration: none;
    border: #CCCCCC 1px solid;
}

.key1 {
    /*显示高度768px, 溢出部分隐藏*/
    overflow: hidden;
}

.key1 img {
    width: 100%;
}

/*轮播图*/
/*columu1_1 */
.column1_1 {
    border: #a8a8a8 1px solid;
    width: 100%;
    text-align: left;
}

.column1_1 p {
    padding-left: 3rem;
    padding-right: 3rem;
}

.column2_1 {
    border: #a8a8a8 1px solid;
    width: 100%;
    text-align: left;
}

.column2_1 p {
    padding-left: 3rem;
    padding-right: 3rem;
}

.column2_1 pre {
    padding-left: 3rem;
    padding-right: 3rem;
    border: none;
}

pre {
    border: #a8a8a8 1px solid;
    text-align: left;
    font: inherit
}


/* TODO mainContent*************************************************************************************/
/* TODO footerBar*************************************************************************************/
.footer {
    /*border: #6a737d 1px solid;*/
    display: block;
    bottom: 0;
    border-top: #6a737d 1px solid;

    /*position: relative;*/
    width: max-content;

    margin: 0 auto;
}

.footer p {
    float: left;
    padding: 20px;
}

.footer p a {
    color: black;
    text-decoration: none;
}

.footer p a:hover {
    color: #ebc700;
    text-shadow: 1px 1px 5px #ebc700;
    text-decoration: none;
}

/* TODO footerBar*************************************************************************************/
.ToTop {
    padding: 0.4rem;
    border: #2d8cf0 1px solid;
    border-radius: 10rem;
    position: fixed;
    right: 10rem;
    bottom: 4rem;

}

.ToTop a, .ToTop a:visited {
    color: #6a737d;
    text-decoration: none;
}

.ToTop:hover {
    background-color: #2d8cf0;
}

.ToTop a:hover {
    color: #f3ffea;
    text-decoration: none;
}